#ifndef DirectoryDialog_First
#define DirectoryDialog_First
#ifdef __GNUG__
#pragma interface
#endif

#include "FileDialog.h"

//---- DirectoryDialog ---------------------------------------------------------

class DirectoryDialog : public FileDialog {
public:
	MetaDef(DirectoryDialog);
	DirectoryDialog();
	static const char *GetDirectory(Window *w, EvtHandler *eh);
	static DirectoryDialog *gDirectoryDialog;

protected:
	VObject *DoMakeActions();
	Data *FilterData(Data *data);
	void Control(int id, int p, void *v);
	void DoSetup();

protected:
	ActionButton *selectButton;
};

#endif
